![]() |
PaintArc |
||||
Header: | Quickdraw.h | Carbon status: | Supported | |
Paints a wedge of the oval that fits inside a rectangle.
void PaintArc ( const Rect *r, SInt16 startAngle, SInt16 arcAngle );
The rectangle that defines an oval’s boundaries.
The angle indicating the start of the arc.
The angle indicating the arc’s extent.
Using the pen pattern and pattern mode of the current graphics port, the PaintArc function draws a wedge of the oval bounded by the rectangle that you specify in the r parameter. As in the FrameArc function, use the startAngle and arcAngle parameters to define the arc of the wedge.
The pen location does not change.
Use FillArc, to draw a wedge with a pattern different from that specified in the pnPat field of the current graphics port.
The PaintArc function may move or purge memory blocks in the application heap; do not call this function at interrupt time.
Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)